package com.example.goodtrash.db;

import android.content.Context;
import android.database.sqlite.SQLiteDatabase;
import android.database.sqlite.SQLiteOpenHelper;

public class RecycleHelper extends SQLiteOpenHelper {
    public static final String CREATE_RECYCLE="create table recycle("
            +"id integer primary key autoincrement,"
            +"name text,"
            +"type text,"
            +"dataTime text)";
    public RecycleHelper(Context context, String name, SQLiteDatabase.CursorFactory factory, int version){
        super(context,name,factory,version);
    }

    @Override
    public void onCreate(SQLiteDatabase sqLiteDatabase) {
        sqLiteDatabase.execSQL(CREATE_RECYCLE);
    }


    @Override
    public void onUpgrade(SQLiteDatabase sqLiteDatabase, int i, int i1) {

    }
}
